package com.example.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Book;

import java.time.LocalDate;

public interface BookService extends IService<Book> {
    IPage<Book> pageQuery(int pageNum, int pageSize);

    IPage<Book> search(String name, String publisher, LocalDate startDate, LocalDate endDate, String author, int pageNum, int pageSize);
} 